package com.hxy.health.platform.pojo;

import java.util.Date;

public class User {
    /** id */
    private Integer id;

    /** 邮箱 */
    private String email;

    /** 姓名 */
    private String username;

    /** 性别 */
    private String gender;

    /** 密码 */
    private String password;

    /** 手机号 */
    private Long phone;

    /** 状态 1--已经激活  2--未激活 */
    private Integer status;

    /** 类型 1-- 管理员 2--普通会员 */
    private Integer type;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    public User(Integer id, String email, String username, String gender, String password, Long phone, Integer status, Integer type, Date createTime, Date updateTime) {
        this.id = id;
        this.email = email;
        this.username = username;
        this.gender = gender;
        this.password = password;
        this.phone = phone;
        this.status = status;
        this.type = type;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public User() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender == null ? null : gender.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Long getPhone() {
        return phone;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}